package com.lanju.app.message.bean;

import java.util.ArrayList;
import java.util.List;


/**
 * 获取某个订单详情
 * @author fei
 *
 */
public class B107Response extends BaseResponse {
	
	private String carNum="";//车牌号
	
	private String shopName="";//客户名
	
	private String address="";//地址
	
	private String busiName="";//业务员名
	
	private String fox="";		//传真
	
	private String tel="";		//电话
	
	private float amount;	//金额
	
	private List<DetailBean> details = new ArrayList<>();//具体明细
	
	public List<DetailBean> getDetails() {
		return details;
	}

	public void setDetails(List<DetailBean> details) {
		this.details = details;
	}

	public String getCarNum() {
		return carNum;
	}

	public void setCarNum(String carNum) {
		this.carNum = carNum;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getBusiName() {
		return busiName;
	}

	public void setBusiName(String busiName) {
		this.busiName = busiName;
	}

	public String getFox() {
		return fox;
	}

	public void setFox(String fox) {
		this.fox = fox;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public float getAmount() {
		return amount;
	}

	public void setAmount(float amount) {
		this.amount = amount;
	}
	

	public static class DetailBean {

		private String prodName="";// 项目

		private int number;		// 数量
		
		private String unit="";	//单位
		
		private String viewUnit = ""; //显示单位json,格式   [{"unit":"箱","decimal":10}], unit表示显示， decimal表示跟对应unit的比例

		private Float price;	//单价
		
		private Float amount;	//金额

		public String getProdName() {
			return prodName;
		}

		public void setProdName(String prodName) {
			this.prodName = prodName;
		}

		public int getNumber() {
			return number;
		}

		public void setNumber(int number) {
			this.number = number;
		}

		public String getUnit() {
			return unit;
		}

		public void setUnit(String unit) {
			this.unit = unit;
		}

		public Float getPrice() {
			return price;
		}

		public void setPrice(Float price) {
			this.price = price;
		}

		public Float getAmount() {
			return amount;
		}

		public void setAmount(Float amount) {
			this.amount = amount;
		}

		public String getViewUnit() {
			return viewUnit;
		}

		public void setViewUnit(String viewUnit) {
			this.viewUnit = viewUnit;
		}
		
	}
}
